from collections.abc import Iterable
print(isinstance([], Iterable))
print(isinstance({}, Iterable))
print(isinstance('987', Iterable))
print(isinstance((x for x in range(20)), Iterable))
print(isinstance(100, Iterable))


list1 = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
for key in list1:
    print("吃第" + str(key) + "个苹果")